#pragma once
class CyMessageHandler
{
public:
	CyMessageHandler(void);
	~CyMessageHandler(void);

	// Message filter method, every dirived class have to implement
	// this method to handle message in diffirent ways.
	// Return TRUE if process, FALSE if not
	virtual BOOL HandleMessage(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

	typedef BOOL (CyMessageHandler::*Handler)(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
};

